#include "StdAfx.h"
#include "UIStringFormat.h"

namespace DirectUI
{
	CUIStringFormat::CUIStringFormat(void)
	{
	}

	CUIStringFormat::~CUIStringFormat(void)
	{
		ResetDefault();
	}

	void CUIStringFormat::ResetDefault()
	{
		m_szAlignment		= TEXT("near");
		m_szLineAlignment	= TEXT("near");
	}

	LPCTSTR CUIStringFormat::GetAlignment()
	{
		return m_szAlignment;
	}

	LPCTSTR CUIStringFormat::GetLineAlignment()
	{
		return m_szLineAlignment;
	}

	void CUIStringFormat::SetLineAlignment(LPCTSTR lpLineAlignment)
	{
		m_szLineAlignment = lpLineAlignment;
	}

	void CUIStringFormat::SetAlignment(LPCTSTR lpAlignment)
	{
		m_szAlignment = lpAlignment;
	}
}

